<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
<link rel="stylesheet" type="text/css" href="<c:url value="/css/themes/default/easyui.css"/>">
<link rel="stylesheet" type="text/css" href="<c:url value="/css/themes/icon.css"/>">
<script type="text/javascript" src="<c:url value="/js/jquery.min.js"/>"></script>
<script type="text/javascript" src="<c:url value="/js/jquery.easyui.min.js"/>"></script>
<script type="text/javascript" src="<c:url value="/js/easyui-lang-zh_CN.js"/>"></script>
</head>
<body>
<script>
	function ret(){
		var name=$("#ygName").textbox("getValue")
		var psd=$("#ygPsd").passwordbox("getValue")
		window.location.href="to_calling?name="+name;
		$("#l_form").form('submit',{
			url:'getregistrationMassage',
			onSubmit:function(param){
				param.ygName=$("#ygName").textbox("getValue");
				param.ygPsd=$("#ygPsd").passwordbox("getValue")
			}
		})
	}
	
</script>
<form id="l_form">
	<input id="ygName" class="easyui-textbox" data-options="label:'用户名',width:'40%'"><br><br>
	<input id="ygPsd" class="easyui-passwordbox" data-options="showEye:false,label:'密码',width:'40%'"><br>
	<a id="cc" class="easyui-linkbutton" onClick="ret()">登录</a>
</form>
</body>
</html>